package com.dc.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 维保表
 *
 * @author feishaobin
 * @email
 * @date 2021-12-21 11:38:02
 */
@Data
@ApiModel
@TableName("dc_maintenance_relation")
public class MaintenanceRelation implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 关联dc_maintenance_work_order表id
     */
    @ApiModelProperty(value = "关联dc_work_order表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long maintenanceWorkId;
    /**
     * 一级大类
     */
    @ApiModelProperty(value = "一级大类")
    @Excel(name = "一级大类")
    private String type;
    /**
     * 维保项目名称
     */
    @Excel(name = "维保项目名")
    @ApiModelProperty(value = "维保项目名")
    private String projectName;
    /**
     * 维保内容
     */
    @Excel(name = "维保内容")
    @ApiModelProperty(value = "维保内容")
    private String content;
    /**
     * 维保周期
     */
    @Excel(name = "维保周期")
    @ApiModelProperty(value = "维保周期")
    private String cycle;
    /**
     * 工作标准
     */
    @Excel(name = "工作标准")
    @ApiModelProperty(value = "工作标准")
    private String workStandard;

}
